//
//  BSTextfeildViewController.m
//  SuoSiApp
//
//  Created by zhang on 16/5/8.
//  Copyright © 2016年 Ym. All rights reserved.
//

#import "BSTextfeildViewController.h"

@interface BSTextfeildViewController ()

@end

@implementation BSTextfeildViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(keyBoardWillChangeFrame:) name:UIKeyboardWillChangeFrameNotification object:nil];
    

    
}
- (void)keyBoardWillChangeFrame:(NSNotification *)notification
{
//    CGRect frame = [notification.userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue];

//    self.keybordHeight = frame.size.height;

    
}
- (void)dealloc{
    
    [[NSNotificationCenter defaultCenter]removeObserver:self];
    

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
